import Vue from 'vue'
import VueRouter from 'vue-router'
import config from './config.js'
import store from '@/store';

//1、vue安装vue-router
Vue.use(VueRouter);

//2、vue-router需要配置，简单来说需要配置路径和组件之间的映射关系
var router = new VueRouter(config);





export default router;
